#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.3.8.1
 Author:         myName

 Script Function:
	Template AutoIt script.

#ce ----------------------------------------------------------------------------
#include <Debug.au3>
Local $dbg_title = "local window for debug2"
_DebugSetup($dbg_title,False, 1)

Global $str = "1 2 3 4 5"
Global $ret = StringRegExp($str,"(\d+)?( \d+ \d+)?( \d+ \d+)?( \d+ \d+)?( \d+ \d+)?",1)

_DebugOut("l=" & UBound($ret))
For $i = 0 To UBound($ret)-1
   _DebugOut($i & ": " & $ret[$i])
Next



